// 全局挂载自定义组件
import Mask from './Mask.vue'
import Popup from './Popup.vue'
import Modal from './Modal.vue'
import DelToast from './DelToast.vue'
import Tree from './Tree.vue'
import Pagination from './Pagination.vue'
import Echarts from './echarts/Echarts.vue'
import LineOrColumnarEcahrts from './echarts/LineOrColumnarEcahrts.vue'
import pieEcahrts from './echarts/pieEcahrts.vue'

const arr = [Mask, Popup, Modal, DelToast, Tree, Pagination, Echarts, LineOrColumnarEcahrts, pieEcahrts]
export default function components(app: any) {
  arr.forEach(v => app.component(v.name, v))
}
